class App {

public static void main(String[] args) {

	Card[] cards;
	cards = new Card[3];
	
	cards[0] = new Card("spade",7);
	cards[1] = new Card("spade",5);
	cards[2] = new Card("heart",9);
	
	
	Card.sortCards(cards);	
	
	System.out.println("" + cards[0].getSuit() + " " + cards[0].getRank());
	System.out.println("" + cards[1].getSuit() + " " + cards[1].getRank());
	System.out.println("" + cards[2].getSuit() + " " + cards[2].getRank());
	}
	

}
